package com.foxitcloud.webpdf.common;

import java.io.Serializable;

public class OperationData implements Serializable {
	private static final long serialVersionUID = 7236747451320063787L;
	
	private byte[] signatureData = null;
	
	/**
	 * 0: XML
	 * 1: FDF
	 * 2: PDF
	 */
	private int fromDataType = 0;
	private byte[] fromData = null;
	
	private String annotData = null;

	public byte[] getSignatureData() {
		return signatureData;
	}

	public void setSignatureData(byte[] signatureData) {
		this.signatureData = signatureData;
	}

	public int getFromDataType() {
		return fromDataType;
	}

	public void setFromDataType(int fromDataType) {
		this.fromDataType = fromDataType;
	}

	public byte[] getFromData() {
		return fromData;
	}

	public void setFromData(byte[] fromData) {
		this.fromData = fromData;
	}
	
	public void setFromData(int fromDataType, byte[] fromData) {
		this.fromDataType = fromDataType;
		this.fromData = fromData;
	}

	public String getAnnotData() {
		return annotData;
	}

	public void setAnnotData(String annotData) {
		this.annotData = annotData;
	}
}
